package com.xyy.saas.payment.service.impl;

import com.xyy.saas.payment.dao.mapper.MenuInfoMapper;
import com.xyy.saas.payment.dao.model.MenuInfoPo;
import com.xyy.saas.payment.service.MenuInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author zhangwenxiong
 * @Date 2020/11/5 11:04
 * @Version 1.0
 */
@Service
public class MenuInfoServiceImpl implements MenuInfoService {

    @Autowired
    private MenuInfoMapper menuInfoMapper;

    @Override
    public List<MenuInfoPo> getMenuByMenuId(List<String> list) {
        return menuInfoMapper.getMenuByMenuId(list);
    }

    @Override
    public List<MenuInfoPo> getAllMenu() {
        return menuInfoMapper.getAllMenu();
    }
}
